package com.tf.pemporaryfood.domain.entity;

import java.sql.Timestamp;

/**
 * User实体类
 * @author 小天才
 */
public class User {
  /**
   * 用户id
   */
  private Long userId;
  /**
   * 用户头像
   */
  private String userIcon;
  /**
   * 用户名
   */
  private String userName;
  /**
   * 密码
   */
  private String userPassword;

  /**
   * 用户手机号
   */
  private String userPhone;

  /**
   * 角色
   */
  private Integer userRole;

  /**
   * 创建时间
   */
  private Timestamp userCreateTime;
  /**
   * 修改时间
   */
  private Timestamp userUpdateTime;
  /**
   * 是否删除
   */
  private Long isDelete;

  public String getUserIcon() {
    return userIcon;
  }

  public void setUserIcon(String userIcon) {
    this.userIcon = userIcon;
  }

  @Override
  public String toString() {
    return "User{" +
            "userId=" + userId +
            ", userIcon='" + userIcon + '\'' +
            ", userName='" + userName + '\'' +
            ", userPassword='" + userPassword + '\'' +
            ", userPhone='" + userPhone + '\'' +
            ", userRole=" + userRole +
            ", userCreateTime=" + userCreateTime +
            ", userUpdateTime=" + userUpdateTime +
            ", isDelete=" + isDelete +
            '}';
  }

  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }


  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }


  public String getUserPhone() {
    return userPhone;
  }

  public void setUserPhone(String userPhone) {
    this.userPhone = userPhone;
  }


  public java.sql.Timestamp getUserCreateTime() {
    return userCreateTime;
  }

  public void setUserCreateTime(java.sql.Timestamp userCreateTime) {
    this.userCreateTime = userCreateTime;
  }


  public java.sql.Timestamp getUserUpdateTime() {
    return userUpdateTime;
  }

  public void setUserUpdateTime(java.sql.Timestamp userUpdateTime) {
    this.userUpdateTime = userUpdateTime;
  }


  public Long getIsDelete() {
    return isDelete;
  }

  public void setIsDelete(Long isDelete) {
    this.isDelete = isDelete;
  }


  public Integer getUserRole() {
    return userRole;
  }

  public void setUserRole(Integer userRole) {
    this.userRole = userRole;
  }


  public String getUserPassword() {
    return userPassword;
  }

  public void setUserPassword(String userPassword) {
    this.userPassword = userPassword;
  }

}
